package cn.kmsoft.stgeometry.landm;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

public class LandHeader implements Serializable {

    // 格式版本号
    private String formatVersion;
    // 数据产生单位
    private String dataProduceOrg;
    // 数据产生日期
    private String produceDate;

    // 坐标系
    private String coordinateSystem;
    // 几度分带
    private String degreeNo;
    // 投影类型
    private String projectionType;
    // 计量单位
    private String unit;
    // 带号
    private String degreeNum;
    // 精度
    private String precision;
    // 转换参数
    private String conversionParameter;

    public LandHeader() {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        String dynProductDateStr = sdf.format(new Date());

        this.formatVersion = "1.0版本";
        this.dataProduceOrg = "xxx勘测技术公司";
        this.produceDate = dynProductDateStr;
        this.coordinateSystem = "2000国家大地坐标系";
        this.degreeNo = "3";//几度分带
        this.projectionType = "高斯克吕格";
        this.unit = "米";
        this.degreeNum = "36";
        this.precision = "0.001";//精度
        this.conversionParameter = "0,0,0,0,0,0,1";//精度
    }


    public String getFormatVersion() {
        return formatVersion;
    }

    public void setFormatVersion(String formatVersion) {
        this.formatVersion = formatVersion;
    }

    public String getDataProduceOrg() {
        return dataProduceOrg;
    }

    public void setDataProduceOrg(String dataProduceOrg) {
        this.dataProduceOrg = dataProduceOrg;
    }

    public String getProduceDate() {
        return produceDate;
    }

    public void setProduceDate(String produceDate) {
        this.produceDate = produceDate;
    }

    public String getCoordinateSystem() {
        return coordinateSystem;
    }

    public void setCoordinateSystem(String coordinateSystem) {
        this.coordinateSystem = coordinateSystem;
    }

    public String getDegreeNo() {
        return degreeNo;
    }

    public void setDegreeNo(String degreeNo) {
        this.degreeNo = degreeNo;
    }

    public String getProjectionType() {
        return projectionType;
    }

    public void setProjectionType(String projectionType) {
        this.projectionType = projectionType;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getDegreeNum() {
        return degreeNum;
    }

    public void setDegreeNum(String degreeNum) {
        this.degreeNum = degreeNum;
    }

    public String getPrecision() {
        return precision;
    }

    public void setPrecision(String precision) {
        this.precision = precision;
    }

    public String getConversionParameter() {
        return conversionParameter;
    }

    public void setConversionParameter(String conversionParameter) {
        this.conversionParameter = conversionParameter;
    }

}
